﻿<UserControl x:Class="Bookvar.UI.VideoPlayer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Background="#000000">

	<Canvas x:Name="Main">
		<Canvas.Resources>

			<!-- PlayPauseButton animations -->

			<Storyboard x:Key="PlayPauseButton_FocusInAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PlayPauseButton" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="PlayPauseButton_FocusOutAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PlayPauseButton" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0.5"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="PlayPauseButton_PressAnimation">
				<DoubleAnimationUsingKeyFrames  Storyboard.TargetName="PlayPauseButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PlayPauseButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="PlayPauseButton_DepressAnimation">
				<DoubleAnimationUsingKeyFrames  Storyboard.TargetName="PlayPauseButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PlayPauseButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<!-- StopButton animations -->

			<Storyboard x:Key="StopButton_FocusInAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="StopButton" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="StopButton_FocusOutAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="StopButton" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0.5"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="StopButton_PressAnimation">
				<DoubleAnimationUsingKeyFrames  Storyboard.TargetName="StopButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="StopButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="StopButton_DepressAnimation">
				<DoubleAnimationUsingKeyFrames  Storyboard.TargetName="StopButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="StopButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>



			<!-- PreviousButton animations -->

			<Storyboard x:Key="PreviousButton_FocusInAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PreviousButton" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="PreviousButton_FocusOutAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PreviousButton" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0.5"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="PreviousButton_PressAnimation">
				<DoubleAnimationUsingKeyFrames  Storyboard.TargetName="PreviousButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PreviousButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="PreviousButton_DepressAnimation">
				<DoubleAnimationUsingKeyFrames  Storyboard.TargetName="PreviousButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PreviousButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>



			<!-- NextButton animations -->

			<Storyboard x:Key="NextButton_FocusInAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="NextButton" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="NextButton_FocusOutAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="NextButton" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0.5"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="NextButton_PressAnimation">
				<DoubleAnimationUsingKeyFrames  Storyboard.TargetName="NextButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="NextButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="NextButton_DepressAnimation">
				<DoubleAnimationUsingKeyFrames  Storyboard.TargetName="NextButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="NextButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<!-- MuteButton animations -->

			<Storyboard x:Key="MuteButton_FocusInAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="MuteButton" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="MuteButton_FocusOutAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="MuteButton" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0.5"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="MuteButton_PressAnimation">
				<DoubleAnimationUsingKeyFrames  Storyboard.TargetName="MuteButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="MuteButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="MuteButton_DepressAnimation">
				<DoubleAnimationUsingKeyFrames  Storyboard.TargetName="MuteButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="MuteButton" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>



			<!-- ChapterArea animations -->

			<Storyboard x:Key="ChapterArea_FocusInAnimation"/>


			<Storyboard x:Key="ChapterArea_FocusOutAnimation"/>


			<!-- PlayerControls animations -->

			<Storyboard x:Key="PlayerControls_FocusInAnimation"/>


			<Storyboard x:Key="PlayerControls_FocusOutAnimation"/>



			<!-- PlaySymbol animations 
					used in MultiStateButton to toggle between PlaySymbol and PauseSymbol. 
					if these animations are not provided default ones will be generated for you
			-->

			<Storyboard x:Key="PlaySymbol_ShowAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PlaySymbol" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1.0"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="PlaySymbol_HideAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PlaySymbol" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:0.3000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<!-- PauseSymbol animations - 
					used in MultiStateButton to toggle between PlaySymbol and PauseSymbol. 
					if these animations are not provided default ones will be generated for you
			 -->

			<Storyboard x:Key="PauseSymbol_ShowAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PauseSymbol" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1.0"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="PauseSymbol_HideAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PauseSymbol" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<!-- MuteButtonAdornment animations 
					used to show mute symbol on the mute button.
					if these animations are not provided default ones will be generated for you
			 -->

			<Storyboard x:Key="MuteButtonAdornment_ShowAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="MuteOnSymbol" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1.0"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="MuteButtonAdornment_HideAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="MuteOnSymbol" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>



			<!-- animations specific to popup player, shows chapter and player controls -->

			<Storyboard x:Key="ShowControlsAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PlayerControls" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
					<SplineDoubleKeyFrame KeyTime="00:00:00" Value="55.575"/>
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="-11.425"/>
					<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="-1.425"/>
				</DoubleAnimationUsingKeyFrames>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PlayerControls" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="HideControlsAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PlayerControls" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
					<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-1.425"/>
					<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="-11.425"/>
					<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="55.575"/>
				</DoubleAnimationUsingKeyFrames>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="PlayerControls" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>



			<Storyboard x:Key="ShowChaptersAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="ChapterArea" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
					<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-55.575"/>
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="11.425"/>
					<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1.425"/>
				</DoubleAnimationUsingKeyFrames>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="ChapterArea" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>


			<Storyboard x:Key="HideChaptersAnimation">
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="ChapterArea" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
					<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.425"/>
					<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="11.425"/>
					<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="-55.575"/>
				</DoubleAnimationUsingKeyFrames>
				<DoubleAnimationUsingKeyFrames Storyboard.TargetName="ChapterArea" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>

			<Style x:Key="StopButton" BasedOn="{x:Null}" TargetType="{x:Type Button}">
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="{x:Type Button}">
							<Canvas Opacity="0.5" x:Name="StopButton">
								<Canvas.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="0"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Canvas.RenderTransform>
								<Path x:Name="Path_10" Width="25.7983" Height="22.3382" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#FF9E9E9E" Fill="#67282828" Data="F1 M 2.13977,0.25L 23.6586,0.25C 24.7022,0.25 25.5483,1.0961 25.5483,2.13977L 25.5483,20.1984C 25.5483,21.2421 24.7022,22.0882 23.6586,22.0882L 2.13977,22.0882C 1.09607,22.0882 0.25,21.2421 0.25,20.1984L 0.25,2.13977C 0.25,1.0961 1.09607,0.25 2.13977,0.25 Z "/>
								<Path x:Name="Path_11" Width="23.7675" Height="20.5851" Canvas.Left="1.04919" Canvas.Top="0.876526" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#677F7F7F" Data="F1 M 3.18896,1.12653L 22.677,1.12653C 23.7206,1.12653 24.5667,1.9726 24.5667,3.0163L 24.5667,19.3219C 24.5667,20.3656 23.7206,21.2116 22.677,21.2116L 3.18896,21.2116C 2.14528,21.2116 1.29919,20.3656 1.29919,19.3219L 1.29919,3.0163C 1.29919,1.9726 2.14528,1.12653 3.18896,1.12653 Z ">
									<Path.Fill>
										<LinearGradientBrush StartPoint="0.706019,-0.405676" EndPoint="0.706019,0.556541">
											<GradientStop Color="#00FFFFFF" Offset="0.224609"/>
											<GradientStop Color="#67FFFFFF" Offset="0.449219"/>
											<GradientStop Color="#00FFFFFF" Offset="0.979492"/>
										</LinearGradientBrush>
									</Path.Fill>
								</Path>
								<Rectangle x:Name="Rectangle" Width="8.58571" Height="8.52344" Canvas.Left="8.64009" Canvas.Top="6.90741" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#FF9E9E9E" Fill="#FFFFFFFF"/>
							</Canvas>
							<ControlTemplate.Triggers>
								<Trigger Property="IsMouseOver" Value="True">
									<Trigger.EnterActions>
										<BeginStoryboard Storyboard="{StaticResource StopButton_FocusInAnimation}"/>
									</Trigger.EnterActions>
									<Trigger.ExitActions>
										<BeginStoryboard Storyboard="{StaticResource StopButton_FocusOutAnimation}"/>
									</Trigger.ExitActions>
								</Trigger>
								<Trigger Property="IsPressed" Value="True">
									<Trigger.EnterActions>
										<BeginStoryboard Storyboard="{StaticResource StopButton_PressAnimation}"/>
									</Trigger.EnterActions>
									<Trigger.ExitActions>
										<BeginStoryboard Storyboard="{StaticResource StopButton_DepressAnimation}"/>
									</Trigger.ExitActions>
								</Trigger>
							</ControlTemplate.Triggers>
						</ControlTemplate>
					</Setter.Value>
				</Setter>
			</Style>
			<Style x:Key="NextButton" BasedOn="{x:Null}" TargetType="{x:Type Button}">
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="{x:Type Button}">
							<Canvas Opacity="0.5" x:Name="NextButton">
								<Canvas.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="0"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Canvas.RenderTransform>
								<Path x:Name="Path_12" Width="22.8005" Height="22.5862" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#FF9E9E9E" Fill="#67282828" Data="F1 M 2.13977,0.25L 20.6608,0.25C 21.7044,0.25 22.5505,1.09607 22.5505,2.13974L 22.5505,20.4464C 22.5505,21.4901 21.7044,22.3362 20.6608,22.3362L 2.13977,22.3362C 1.09608,22.3362 0.25,21.4901 0.25,20.4464L 0.25,2.13974C 0.25,1.09607 1.09608,0.25 2.13977,0.25 Z "/>
								<Path x:Name="Path_13" Width="21.0104" Height="20.8133" Canvas.Left="0.750153" Canvas.Top="0.874512" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#677F7F7F" Data="F1 M 2.88991,1.12451L 19.6207,1.12451C 20.6644,1.12451 21.5105,1.97058 21.5105,3.01425L 21.5105,19.548C 21.5105,20.5917 20.6644,21.4378 19.6207,21.4378L 2.88991,21.4378C 1.84622,21.4378 1.00015,20.5917 1.00015,19.548L 1.00015,3.01425C 1.00015,1.97058 1.84622,1.12451 2.88991,1.12451 Z ">
									<Path.Fill>
										<LinearGradientBrush StartPoint="-1.61551,-0.526343" EndPoint="-1.61551,0.557069">
											<GradientStop Color="#00FFFFFF" Offset="0.224609"/>
											<GradientStop Color="#67FFFFFF" Offset="0.449219"/>
											<GradientStop Color="#00FFFFFF" Offset="0.979492"/>
										</LinearGradientBrush>
									</Path.Fill>
								</Path>
								<Canvas x:Name="Group_14" Width="19.7407" Height="20.33" Canvas.Left="1.45807" Canvas.Top="0.90451">
									<Path x:Name="Path_15" Width="11.081" Height="9.85751" Canvas.Left="4.51534" Canvas.Top="5.45575" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#FF9E9E9E" Fill="#FFFFFFFF" Data="F1 M 10.0456,5.70575L 15.3463,10.3686L 10.0661,15.0633L 10.0558,10.3777L 4.78583,15.0633L 4.76534,5.70575L 10.0558,10.3595L 10.0456,5.70575 Z "/>
								</Canvas>
							</Canvas>
							<ControlTemplate.Triggers>
								<Trigger Property="IsMouseOver" Value="True">
									<Trigger.EnterActions>
										<BeginStoryboard Storyboard="{StaticResource NextButton_FocusInAnimation}"/>
									</Trigger.EnterActions>
									<Trigger.ExitActions>
										<BeginStoryboard Storyboard="{StaticResource NextButton_FocusOutAnimation}"/>
									</Trigger.ExitActions>
								</Trigger>
								<Trigger Property="IsPressed" Value="True">
									<Trigger.EnterActions>
										<BeginStoryboard Storyboard="{StaticResource NextButton_PressAnimation}"/>
									</Trigger.EnterActions>
									<Trigger.ExitActions>
										<BeginStoryboard Storyboard="{StaticResource NextButton_DepressAnimation}"/>
									</Trigger.ExitActions>
								</Trigger>
							</ControlTemplate.Triggers>
						</ControlTemplate>
					</Setter.Value>
				</Setter>
			</Style>

			<Style x:Key="MuteButton" BasedOn="{x:Null}" TargetType="{x:Type ToggleButton}">
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="{x:Type ToggleButton}">
							<Canvas Opacity="0.5" x:Name="MuteButton">
								<Canvas.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="0"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Canvas.RenderTransform>
								<Path x:Name="Path_5" Width="26.9885" Height="23.3656" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#FF9E9E9E" Fill="#67282828" Data="F1 M 2.13977,0.25L 24.8488,0.25C 25.8924,0.25 26.7385,1.09607 26.7385,2.13977L 26.7385,21.2258C 26.7385,22.2695 25.8924,23.1156 24.8488,23.1156L 2.13977,23.1156C 1.09607,23.1156 0.25,22.2695 0.25,21.2258L 0.25,2.13977C 0.25,1.09607 1.09607,0.25 2.13977,0.25 Z "/>
								<Path x:Name="Path_6" Width="24.8622" Height="21.5301" Canvas.Left="1.24356" Canvas.Top="0.917786" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#677F7F7F" Data="F1 M 3.38333,1.16779L 23.966,1.16779C 25.0097,1.16779 25.8558,2.01385 25.8558,3.05756L 25.8558,20.3081C 25.8558,21.3518 25.0097,22.1978 23.966,22.1978L 3.38333,22.1978C 2.33963,22.1978 1.49356,21.3518 1.49356,20.3081L 1.49356,3.05756C 1.49356,2.01385 2.33963,1.16779 3.38333,1.16779 Z ">
									<Path.Fill>
										<LinearGradientBrush StartPoint="-8.24292,-0.406665" EndPoint="-8.24292,0.556603">
											<GradientStop Color="#00FFFFFF" Offset="0.224609"/>
											<GradientStop Color="#67FFFFFF" Offset="0.449219"/>
											<GradientStop Color="#00FFFFFF" Offset="0.979492"/>
										</LinearGradientBrush>
									</Path.Fill>
								</Path>
								<Path x:Name="Path_9" Width="7.0647" Height="11.5131" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#FF9E9E9E" Fill="#FFFFFFFF" Data="F1 M 6.56018,0.60498C 6.70068,0.60498 6.8147,0.713928 6.8147,0.848358L 6.8147,11.3747C 6.8147,11.5091 6.70068,11.6181 6.56018,11.6181L 5.11133,11.6181C 4.97076,11.6181 4.85681,11.5091 4.85681,11.3747L 4.85681,11.056L 2.40826,7.98373L 0.74408,7.98373C 0.471191,7.98373 0.25,7.77222 0.25,7.51129L 0.25,4.8219C 0.25,4.56094 0.471191,4.34943 0.74408,4.34943L 2.25427,4.34943L 4.85681,1.16382L 4.85681,0.848358C 4.85681,0.713928 4.97076,0.60498 5.11133,0.60498L 6.56018,0.60498 Z " Canvas.Left="6.134" Canvas.Top="5.646"/>
								<Canvas x:Name="MuteOffSymbol" Width="6.77" Height="12.0032" Canvas.Left="14.051" Canvas.Top="5.478">
									<Path x:Name="Path_7" Width="6.05124" Height="12.0033" Canvas.Left="0.401" Stretch="Fill" StrokeThickness="0.781219" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Stroke="#FFFFFFFF" Data="F1 M 9.40125,0.390594C 10.8362,0.390594 14.6713,1.57581 14.6713,6.41217C 14.6713,10.4524 11.2296,11.6126 9.50879,11.6126"/>
									<Path x:Name="Path_8" Width="3.65958" Height="7.13828" Canvas.Left="0.037" Canvas.Top="2.444" Stretch="Fill" StrokeThickness="0.781219" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Stroke="#FFFFFFFF" Data="F1 M 9.0368,2.83426C 9.70258,2.83426 11.9152,3.50568 11.9152,6.24536C 11.9152,8.53409 9.88513,9.19131 9.08673,9.19131"/>
								</Canvas>
								<Path x:Name="MuteOnSymbol" Width="21.3639" Height="21.8112" Canvas.Left="2.99272" Canvas.Top="0.777176" Stretch="Fill" StrokeThickness="0.781219" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Stroke="#FFFFFFFF" Data="F1 M 23.966,1.16779L 3.38333,22.1978"/>
							</Canvas>
							<ControlTemplate.Triggers>
								<Trigger Property="IsMouseOver" Value="True">
									<Trigger.EnterActions>
										<BeginStoryboard Storyboard="{StaticResource MuteButton_FocusInAnimation}"/>
									</Trigger.EnterActions>
									<Trigger.ExitActions>
										<BeginStoryboard Storyboard="{StaticResource MuteButton_FocusOutAnimation}"/>
									</Trigger.ExitActions>
								</Trigger>
								<Trigger Property="IsPressed" Value="True">
									<Trigger.EnterActions>
										<BeginStoryboard Storyboard="{StaticResource MuteButton_PressAnimation}"/>
									</Trigger.EnterActions>
									<Trigger.ExitActions>
										<BeginStoryboard Storyboard="{StaticResource MuteButton_DepressAnimation}"/>
									</Trigger.ExitActions>
								</Trigger>
								<Trigger Property="IsChecked" Value="False">
									<Setter TargetName="MuteOffSymbol" Property="Visibility" Value="Visible" />
									<Setter TargetName="MuteOnSymbol" Property="Visibility" Value="Hidden" />
								</Trigger>
								<Trigger Property="IsChecked" Value="True">
									<Setter TargetName="MuteOffSymbol" Property="Visibility" Value="Hidden" />
									<Setter TargetName="MuteOnSymbol" Property="Visibility" Value="Visible" />
								</Trigger>
							</ControlTemplate.Triggers>
						</ControlTemplate>
					</Setter.Value>
				</Setter>
			</Style>

			<Style x:Key="PreviousButton" BasedOn="{x:Null}" TargetType="{x:Type Button}">
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="{x:Type Button}">
							<Canvas Opacity="0.5" x:Name="PreviousButton">
								<Canvas.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="0"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Canvas.RenderTransform>
								<Path x:Name="Path_16" Width="22.8005" Height="22.5862" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#FF9E9E9E" Fill="#67282828" Data="F1 M 2.13977,0.25L 20.6608,0.25C 21.7045,0.25 22.5505,1.09607 22.5505,2.13974L 22.5505,20.4464C 22.5505,21.4901 21.7045,22.3362 20.6608,22.3362L 2.13977,22.3362C 1.09608,22.3362 0.25,21.4901 0.25,20.4464L 0.25,2.13974C 0.25,1.09607 1.09608,0.25 2.13977,0.25 Z "/>
								<Path x:Name="Path_17" Width="21.0104" Height="20.8133" Canvas.Left="0.718307" Canvas.Top="0.874512" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#677F7F7F" Data="F1 M 2.85808,1.12451L 19.5889,1.12451C 20.6326,1.12451 21.4787,1.97058 21.4787,3.01425L 21.4787,19.548C 21.4787,20.5917 20.6326,21.4378 19.5889,21.4378L 2.85808,21.4378C 1.81439,21.4378 0.968307,20.5917 0.968307,19.548L 0.968307,3.01425C 0.968307,1.97058 1.81439,1.12451 2.85808,1.12451 Z ">
									<Path.Fill>
										<LinearGradientBrush StartPoint="-0.611125,-0.526343" EndPoint="-0.611125,0.557069">
											<GradientStop Color="#00FFFFFF" Offset="0.224609"/>
											<GradientStop Color="#67FFFFFF" Offset="0.449219"/>
											<GradientStop Color="#00FFFFFF" Offset="0.979492"/>
										</LinearGradientBrush>
									</Path.Fill>
								</Path>
								<Canvas x:Name="Group_18" Width="19.1515" Height="20.6246" Canvas.Left="1.82451" Canvas.Top="0.980774">
									<Path x:Name="Path_19" Width="11.081" Height="9.85751" Canvas.Left="3.0275" Canvas.Top="5.17874" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#FF9E9E9E" Fill="#FFFFFFFF" Data="F1 M 8.57825,5.42874L 3.2775,10.0916L 8.55774,14.7863L 8.56799,10.1007L 13.838,14.7863L 13.8585,5.42874L 8.56802,10.0825L 8.57825,5.42874 Z "/>
								</Canvas>
							</Canvas>
							<ControlTemplate.Triggers>
								<Trigger Property="IsMouseOver" Value="True">
									<Trigger.EnterActions>
										<BeginStoryboard Storyboard="{StaticResource PreviousButton_FocusInAnimation}"/>
									</Trigger.EnterActions>
									<Trigger.ExitActions>
										<BeginStoryboard Storyboard="{StaticResource PreviousButton_FocusOutAnimation}"/>
									</Trigger.ExitActions>
								</Trigger>
								<Trigger Property="IsPressed" Value="True">
									<Trigger.EnterActions>
										<BeginStoryboard Storyboard="{StaticResource PreviousButton_PressAnimation}"/>
									</Trigger.EnterActions>
									<Trigger.ExitActions>
										<BeginStoryboard Storyboard="{StaticResource PreviousButton_DepressAnimation}"/>
									</Trigger.ExitActions>
								</Trigger>
							</ControlTemplate.Triggers>
						</ControlTemplate>
					</Setter.Value>
				</Setter>
			</Style>
			<Style x:Key="PlayPauseButton" BasedOn="{x:Null}" TargetType="{x:Type ToggleButton}">
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="{x:Type ToggleButton}">
							<Canvas Opacity="0.5" x:Name="PlayPauseButton">
								<Canvas.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="0"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Canvas.RenderTransform>
								<Path x:Name="Path_20" Width="45.9055" Height="22.3382" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#FF9E9E9E" Fill="#67282828" Data="F1 M 2.13976,0.25L 43.7658,0.25C 44.8095,0.25 45.6555,1.0961 45.6555,2.13977L 45.6555,20.1984C 45.6555,21.2421 44.8095,22.0882 43.7658,22.0882L 2.13976,22.0882C 1.09607,22.0882 0.25,21.2421 0.25,20.1984L 0.25,2.13977C 0.25,1.0961 1.09607,0.25 2.13976,0.25 Z "/>
								<Path x:Name="Path_21" Width="43.5223" Height="20.5851" Canvas.Left="1.1916" Canvas.Top="0.876526" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#677F7F7F" Data="F1 M 3.33138,1.12653L 42.5741,1.12653C 43.6178,1.12653 44.4639,1.9726 44.4639,3.0163L 44.4639,19.3219C 44.4639,20.3656 43.6178,21.2116 42.5741,21.2116L 3.33138,21.2116C 2.28769,21.2116 1.4416,20.3656 1.4416,19.3219L 1.4416,3.0163C 1.4416,1.9726 2.28769,1.12653 3.33138,1.12653 Z ">
									<Path.Fill>
										<LinearGradientBrush StartPoint="1.45695,-0.405676" EndPoint="1.45695,0.556541">
											<GradientStop Color="#00FFFFFF" Offset="0.224609"/>
											<GradientStop Color="#67FFFFFF" Offset="0.449219"/>
											<GradientStop Color="#00FFFFFF" Offset="0.979492"/>
										</LinearGradientBrush>
									</Path.Fill>
								</Path>
								<Canvas x:Name="PauseSymbol" Width="43.0171" Height="18.8568" Canvas.Left="1.20181" Canvas.Top="1.46829">
									<Canvas x:Name="Group_22" Width="10.4979" Height="8.70285" Canvas.Left="16.2497" Canvas.Top="5.55548">
										<Rectangle x:Name="Rectangle_23" Width="4.66058" Height="8.61014" Canvas.Left="0" Canvas.Top="0.0927124" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#FF9E9E9E" Fill="#FFFFFFFF"/>
										<Rectangle x:Name="Rectangle_24" Width="4.66058" Height="8.61014" Canvas.Left="5.83737" Canvas.Top="0" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#FF9E9E9E" Fill="#FFFFFFFF"/>
									</Canvas>
								</Canvas>
								<Canvas x:Name="PlaySymbol" Width="43.0171" Height="18.8568" Canvas.Left="1.20181" Canvas.Top="1.46829">
									<Path x:Name="Path_25" Width="10.1896" Height="12.9614" Canvas.Left="18.305" Canvas.Top="2.75436" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#FF9E9E9E" Fill="#FFFFFFFF" Data="F1 M 18.555,15.4658L 28.2446,9.04706L 18.6298,3.00436L 18.555,15.4658 Z "/>
								</Canvas>
							</Canvas>
							<ControlTemplate.Triggers>
								<Trigger Property="IsMouseOver" Value="True">
									<Trigger.EnterActions>
										<BeginStoryboard Storyboard="{StaticResource PlayPauseButton_FocusInAnimation}"/>
									</Trigger.EnterActions>
									<Trigger.ExitActions>
										<BeginStoryboard Storyboard="{StaticResource PlayPauseButton_FocusOutAnimation}"/>
									</Trigger.ExitActions>
								</Trigger>
								<Trigger Property="IsPressed" Value="True">
									<Trigger.EnterActions>
										<BeginStoryboard Storyboard="{StaticResource PlayPauseButton_PressAnimation}"/>
									</Trigger.EnterActions>
									<Trigger.ExitActions>
										<BeginStoryboard Storyboard="{StaticResource PlayPauseButton_DepressAnimation}"/>
									</Trigger.ExitActions>
								</Trigger>
								<Trigger Property="IsChecked" Value="False">
									<Setter TargetName="PlaySymbol" Property="Visibility" Value="Visible" />
									<Setter TargetName="PauseSymbol" Property="Visibility" Value="Hidden" />
								</Trigger>
								<Trigger Property="IsChecked" Value="True">
									<Setter TargetName="PlaySymbol" Property="Visibility" Value="Hidden" />
									<Setter TargetName="PauseSymbol" Property="Visibility" Value="Visible" />
								</Trigger>
							</ControlTemplate.Triggers>
						</ControlTemplate>
					</Setter.Value>
				</Setter>
			</Style>

			<Style x:Key="VolumeThumb" TargetType="{x:Type Thumb}">
				<Setter Property="SnapsToDevicePixels" Value="true"/>
				<Setter Property="Height" Value="6"/>
				<Setter Property="Width" Value="12"/>
				<Setter Property="Margin" Value="0 2" />
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="{x:Type Thumb}">
							<Path x:Name="VolumeThumb" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#FF9E9E9E" Fill="#FFFFFFFF" Data="F1 M 600.38,469.651L 594.706,464.302L 588.989,469.78L 600.38,469.651 Z " />
						</ControlTemplate>
					</Setter.Value>
				</Setter>
			</Style>

			<Style x:Key="VolumeThumbRepeatButton" TargetType="{x:Type RepeatButton}">
				<Setter Property="Background" Value="Transparent"/>
				<Setter Property="BorderBrush" Value="Transparent"/>
				<Setter Property="IsTabStop" Value="false"/>
				<Setter Property="Focusable" Value="false"/>
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="{x:Type RepeatButton}">
							<Grid>
								<Rectangle Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}"/>
							</Grid>
						</ControlTemplate>
					</Setter.Value>
				</Setter>
			</Style>

			<Style x:Key="VolumeSliderStyle" TargetType="{x:Type Slider}">
				<Setter Property="Width" Value="72" />
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="{x:Type Slider}">
							<Grid x:Name="GridRoot">
								<Grid.RowDefinitions>
									<RowDefinition Height="12"/>
									<RowDefinition Height="Auto" MinHeight="{TemplateBinding MinHeight}"/>
									<RowDefinition Height="Auto"/>
								</Grid.RowDefinitions>

								<Canvas x:Name="VolumeSlider" Margin="6 0">
									<Path x:Name="Path_2" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Stroke="#67363535" Fill="#67282828" Data="F1 M 61.1329,1.08633L 61.1329,11.6174C 61.1329,12.0908 1.74359,12.0908 1.74359,11.6174L 61.1329,1.08633 Z "/>
									<Path x:Name="Path_3" Stretch="Fill" Data="F1 M 61.1329,0.343689C 61.5015,0.687347 61.5746,10.4551 61.1329,10.8747C 60.6912,11.2943 1.74359,11.3481 1.74359,10.8747C 21.54,7.36438 60.7643,0 61.1329,0.343689 Z ">
										<Path.Fill>
											<LinearGradientBrush StartPoint="0.91967,-0.298064" EndPoint="0.91967,0.599939">
												<GradientStop Color="#00FFFFFF" Offset="0.224609"/>
												<GradientStop Color="#67FFFFFF" Offset="0.449219"/>
												<GradientStop Color="#00FFFFFF" Offset="0.979492"/>
											</LinearGradientBrush>
										</Path.Fill>
									</Path>
									<Path x:Name="Path_4" Stretch="Fill" StrokeThickness="0.5" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Stroke="#67FFFFFF" Data="F1 M 61.1329,1.0863C 61.1329,1.0863 61.501,11.2039 61.1329,11.6174C 60.7649,12.0309 3.23718,11.6174 1.74359,11.6174"/>
								</Canvas>

								<!-- The Track lays out the repeat buttons and thumb -->

								<Track x:Name="PART_Track" Grid.Row="1">
									<Track.Thumb>
										<Thumb Style="{DynamicResource VolumeThumb}" />
									</Track.Thumb>
									<Track.IncreaseRepeatButton>
										<RepeatButton Style="{DynamicResource VolumeThumbRepeatButton}" Command="Slider.IncreaseLarge"/>
									</Track.IncreaseRepeatButton>
									<Track.DecreaseRepeatButton>
										<RepeatButton Style="{DynamicResource VolumeThumbRepeatButton}" Command="Slider.DecreaseLarge"/>
									</Track.DecreaseRepeatButton>
								</Track>


							</Grid>


						</ControlTemplate>
					</Setter.Value>
				</Setter>
			</Style>

			<Style x:Key="TimelineSliderStyle" TargetType="{x:Type Slider}">
				<Setter Property="Width" Value="290" />
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="{x:Type Slider}">
							<Grid x:Name="GridRoot">
								<Grid.RowDefinitions>
									<RowDefinition Height="Auto"/>
									<RowDefinition Height="Auto" MinHeight="{TemplateBinding MinHeight}"/>
									<RowDefinition Height="Auto"/>
								</Grid.RowDefinitions>

								<Canvas x:Name="TimeSliderDecoration" Width="281.464" Height="10.9486">
									<Path x:Name="Path_26" Width="280.964" Height="10.001" Canvas.Left="0.25" Canvas.Top="0.947601" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Stroke="#67363535" Fill="#67282828" Data="F1 M 280.446,0.947601L 1.01801,0.947601C 0.593842,0.947601 0.25,1.29144 0.25,1.71561L 0.25,10.1806C 0.25,10.6047 0.593842,10.9486 1.01801,10.9486L 280.446,10.9486C 280.87,10.9486 281.214,10.6047 281.214,10.1806L 281.214,1.71561C 281.214,1.29144 280.87,0.947601 280.446,0.947601 Z "/>
									<Path x:Name="Path_27" Width="281.464" Height="10.501" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#FF9E9E9E" Data="F1 M 279.878,0.25L 1.58627,0.25C 0.848297,0.25 0.25,0.848267 0.25,1.58633L 0.25,8.91467C 0.25,9.65271 0.848297,10.251 1.58627,10.251L 279.878,10.251C 279.878,10.251 281.214,9.65271 281.214,8.91467L 281.214,1.58633C 281.214,0.848267 280.616,0.25 279.878,0.25 Z ">
										<Path.Fill>
											<LinearGradientBrush StartPoint="0.361693,-0.233641" EndPoint="0.361693,0.729747">
												<GradientStop Color="#00FFFFFF" Offset="0.224609"/>
												<GradientStop Color="#71FFFFFF" Offset="0.449219"/>
												<GradientStop Color="#00FFFFFF" Offset="0.979492"/>
											</LinearGradientBrush>
										</Path.Fill>
									</Path>
								</Canvas>

								<!-- The Track lays out the repeat buttons and thumb -->

								<Track x:Name="PART_Track" Grid.Row="1">
									<Track.Thumb>
										<Thumb Style="{DynamicResource VolumeThumb}" />
									</Track.Thumb>
									<Track.IncreaseRepeatButton>
										<RepeatButton Style="{DynamicResource VolumeThumbRepeatButton}" Command="Slider.IncreaseLarge"/>
									</Track.IncreaseRepeatButton>
									<Track.DecreaseRepeatButton>
										<RepeatButton Style="{DynamicResource VolumeThumbRepeatButton}" Command="Slider.DecreaseLarge"/>
									</Track.DecreaseRepeatButton>
								</Track>


							</Grid>


						</ControlTemplate>
					</Setter.Value>
				</Setter>
			</Style>

			<Storyboard x:Key="VideoStoryboard" SlipBehavior="Slip" >
				<MediaTimeline Storyboard.TargetName="VideoWindow" FillBehavior="Stop" />
			</Storyboard>


		</Canvas.Resources>
		<Canvas.Triggers>
			<EventTrigger RoutedEvent="Mouse.MouseEnter" SourceName="VideoWindow">
				<BeginStoryboard x:Name="BeginShowControlsAnimation" Storyboard="{StaticResource ShowControlsAnimation}"/>
			</EventTrigger>
			<EventTrigger RoutedEvent="Mouse.MouseLeave" SourceName="VideoWindow">
				<BeginStoryboard x:Name="BeginHideControlsAnimation"  Storyboard="{StaticResource HideControlsAnimation}"/>
			</EventTrigger>
			<EventTrigger RoutedEvent="Mouse.MouseEnter" SourceName="PlayerControls">
				<StopStoryboard BeginStoryboardName="BeginHideControlsAnimation" />
			</EventTrigger>

		</Canvas.Triggers>
		<Canvas.LayoutTransform>
			<ScaleTransform ScaleX="1" ScaleY="1" />
		</Canvas.LayoutTransform>
		<MediaElement x:Name="VideoWindow" LoadedBehavior="Manual" Width="640" Height="480" Volume="{Binding ElementName=VolumeSlider, Path=Value}"/>
		<Canvas RenderTransformOrigin="0.5,0.5" x:Name="PlayerControls" Width="545.041" Height="39.575" Canvas.Left="48" Canvas.Top="432.425" Opacity="1">
			<Canvas.RenderTransform>
				<TransformGroup>
					<ScaleTransform ScaleX="1" ScaleY="1"/>
					<SkewTransform AngleX="0" AngleY="0"/>
					<RotateTransform Angle="0"/>
					<TranslateTransform X="0" Y="0"/>
				</TransformGroup>
			</Canvas.RenderTransform>
			<Canvas x:Name="PlayerBackground" Width="545.041" Height="39.5746">
				<Path x:Name="Path" Width="542.763" Height="36.4104" Canvas.Left="2.27748" Canvas.Top="3.16418" Stretch="Fill" Fill="#A1CBCBCB" Data="F1 M 15.3241,3.16418L 531.994,3.16418C 541.153,3.16418 545.041,9.42871 545.041,17.1564L 545.041,25.5824C 545.041,33.3101 541.153,39.5746 531.994,39.5746L 15.3241,39.5746C 6.16595,39.5746 2.27748,33.3101 2.27748,25.5824L 2.27748,17.1564C 2.27748,9.42871 6.16595,3.16418 15.3241,3.16418 Z "/>
				<Path x:Name="Path_0" Width="543.763" Height="37.4104" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" StrokeLineJoin="Round" Stroke="#A16F6F6F" Fill="#A18D8D8D" Data="F1 M 13.5466,0.5L 530.217,0.5C 539.375,0.5 543.263,6.76453 543.263,14.4922L 543.263,22.9182C 543.263,30.6459 539.375,36.9104 530.217,36.9104L 13.5466,36.9104C 4.38847,36.9104 0.5,30.6459 0.5,22.9182L 0.5,14.4922C 0.5,6.76453 4.38847,0.5 13.5466,0.5 Z "/>
				<Path x:Name="Path_1" Width="541.794" Height="30.7891" Canvas.Left="0.500008" Canvas.Top="0.5" Stretch="Fill" Fill="#A18D8D8D" Data="F1 M 15.4146,3.16418C 6.2065,3.16418 2.27748,8.75836 2.27748,15.6592L 2.27748,27.0796C 2.27748,28.5566 2.61947,29.9738 3.24732,31.2891C 1.5108,29.3172 0.500008,26.9548 0.500008,24.4154L 0.500008,12.995C 0.500008,6.09421 4.42901,0.5 13.6371,0.5L 530.126,0.5C 537.364,0.5 539.988,3.95572 542.294,8.78549C 539.311,5.39877 537.724,3.16418 531.904,3.16418L 15.4146,3.16418 Z "/>
			</Canvas>
			<Slider Minimum="0" Maximum="1" Value="0.5" Style="{DynamicResource VolumeSliderStyle}" x:Name="VolumeSlider" Canvas.Left="470.771" Canvas.Top="13.794"></Slider>


			<ToggleButton Style="{DynamicResource MuteButton}" x:Name="MuteButton" Command="MediaCommands.MuteVolume" Width="26.988" Height="23.366" Canvas.Left="439.577" Canvas.Top="9.073"/>
			<Button Style="{DynamicResource StopButton}" x:Name="StopButton" Command="MediaCommands.Stop" Width="25.798" Height="22.338" Canvas.Left="65.959" Canvas.Top="9.343"/>
			<Button Style="{DynamicResource NextButton}" x:Name="NextButton" Command="MediaCommands.NextTrack" Width="22.8" Height="22.586" Canvas.Left="120.028" Canvas.Top="9.612"/>
			<Button Style="{DynamicResource PreviousButton}" x:Name="PreviousButton" Command="MediaCommands.PreviousTrack" Width="22.8" Height="22.586" Canvas.Left="97.556" Canvas.Top="9.612"/>
			<ToggleButton Style="{DynamicResource PlayPauseButton}" x:Name="PlayPauseToggleButton" Command="MediaCommands.Play" Click="PlayPauseButtonClicked" Width="45.906" Height="22.338" Canvas.Left="12.41" Canvas.Top="9.343"/>
			<Slider Style="{DynamicResource TimelineSliderStyle}" x:Name="TimelineSlider" Width="282.69" Height="24.53" Canvas.Left="148.5" Canvas.Top="13.794" />


		</Canvas>
	</Canvas>
	
</UserControl>
